home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / editors / origami / oribin.zoo / bindings / emacs.key < prev    next >
Encoding:
Text File  |  1991-06-28  |  4.2 KB  |  173 lines

  1. {{{  Notes about this keybinding
  2. ; This bindings are my personal favourite Origami bindings for the console
  3. ; keyboard in MINIX.  You will feel like in Emacs, although many functions
  4. ; work different, the cursor lands not always where is lands in Emacs and
  5. ; other things.
  6. ; There are no regions and kill/yank works different.  You should use the
  7. ; teach-origami tutorial to become familiar with the Emacs emulation.
  8. ;
  9. ; In fact, I like these keybindings more than real Emacs!
  10. ;
  11. ; Michael Haardt
  12. }}}
  13.  
  14. {{{  these bindings are named Emacs
  15. (defbinding Emacs)
  16. }}}
  17. {{{  moving cursor
  18. (keybind backward-character (C-B))
  19. (keybind backward-character ($left))
  20. (keybind forward-character (C-F))
  21. (keybind forward-character ($right))
  22. (keybind previous-line (C-P))
  23. (keybind previous-line ($up))
  24. (keybind next-line (C-N))
  25. (keybind next-line ($down))
  26.  
  27. (keybind backward-word (M-"b))
  28. (keybind forward-word (M-"f))
  29.  
  30. (keybind beginning-of-line (C-A))
  31. (keybind end-of-line (C-E))
  32. (keybind beginning-of-fold (M-"<))
  33. (keybind end-of-fold (M-">))
  34.  
  35. (keybind previous-page (M-"v))
  36. (keybind previous-page ($prev_page))
  37. (keybind next-page (C-V))
  38. (keybind next-page ($next_page))
  39.  
  40. (keybind goto-line (M-"g))
  41. }}}
  42. {{{  folding
  43. (keybind open-fold (C-O))
  44. (keybind close-fold (C-C))
  45. (keybind enter-fold (M-C-O))
  46. (keybind exit-fold (M-C-C))
  47. (keybind unfold-fold (C-U))
  48. (keybind create-fold (M-C-N))
  49. (keybind create-auto-fold (M-C-A C-N))
  50. (keybind auto-header (M-C-A C-H))
  51. (keybind toggle-create-file-fold (C-X "a "c))
  52. (keybind open-file-fold (C-X "a "o))
  53. }}}
  54. {{{  editing
  55. (keybind newline-and-indent (C-J))
  56. (keybind newline-and-indent (C-M))
  57.  
  58. (keybind delete-previous-character (C-H))
  59. (keybind delete-character (C-D))
  60. (keybind delete-character (C-?))
  61.  
  62. (keybind transpose-characters (C-T))
  63.  
  64. (keybind case-word-capitalize (M-"c))
  65. (keybind case-word-lower (M-"l))
  66. (keybind case-word-upper (M-"u))
  67.  
  68. (keybind delete-to-end-of-line (C-K))
  69. (keybind delete-line (C-X C-K))
  70. (keybind undo-delete-line (C-X C-Y))
  71. (keybind kill-line (M-C-K))
  72. (keybind copy-to-kill-buffer (M-"w))
  73. (keybind fold-kill-buffer (C-Y))
  74. }}}
  75. {{{  search & replace
  76. (keybind search-forward (C-S))
  77. (keybind search-reverse (C-R))
  78.  
  79. (keybind incremental-search (C-X "s))
  80. (keybind reverse-incremental-search (C-X "r))
  81.  
  82. (keybind replace-string (M-"r))
  83. (keybind query-replace-string (M-C-R))
  84. }}}
  85. {{{  files
  86. (keybind insert-file (C-X C-I))
  87. (keybind save-file (C-X C-S))
  88. (keybind write-file (C-X C-W))
  89. (keybind read-file (C-X C-R))
  90. (keybind next-file (C-X C-N))
  91. (keybind previous-file (C-X C-P))
  92. }}}
  93. {{{  macros
  94. (keybind define-macro (C-X "())
  95. (keybind define-macro (C-X ")))
  96. (keybind execute-macro (C-X "e))
  97. }}}
  98. {{{  shell commands
  99. (keybind i-shell (C-X "c))
  100. (keybind shell-command (C-X "!))
  101. }}}
  102. {{{  modes
  103. (keybind add-mode-view (C-X "m "v))
  104. (keybind delete-mode-view (C-X C-M "v))
  105.  
  106. (keybind add-mode-overwrite (C-X "m "o))
  107. (keybind delete-mode-overwrite (C-X C-M "o))
  108.  
  109. (keybind add-mode-autosave (C-X "m "a))
  110. (keybind delete-mode-autosave (C-X C-M "a))
  111.  
  112. (keybind set-language (C-X "m "l))
  113. }}}
  114. {{{  arguments
  115. (keybind set-argument-0 (M-"0))
  116. (keybind set-argument-1 (M-"1))
  117. (keybind set-argument-2 (M-"2))
  118. (keybind set-argument-3 (M-"3))
  119. (keybind set-argument-4 (M-"4))
  120. (keybind set-argument-5 (M-"5))
  121. (keybind set-argument-6 (M-"6))
  122. (keybind set-argument-7 (M-"7))
  123. (keybind set-argument-8 (M-"8))
  124. (keybind set-argument-9 (M-"9))
  125. }}}
  126. {{{  special functions
  127. (keybind abort (C-G))
  128.  
  129. (keybind redraw-display (C-L))
  130.  
  131. (keybind help (M-"?))
  132. (keybind describe-bindings (C-X "?))
  133. (keybind describe-fold (C-X "=))
  134. }}}
  135. {{{  how to get out
  136. (keybind exit-origami (C-X C-C))
  137. (keybind quick-exit (M-"z))
  138. }}}
  139.  
  140. {{{  insert-mail-adress
  141. (deffun insert-mail-adress
  142. (
  143.   "Michael "  "Haardt "  "(mhaardt@ftp.thp.uni-koeln.de ")
  144. ))
  145.  
  146. (keybind insert-mail-adress (M-"x "m))
  147. }}}
  148. {{{  spell-it
  149. {{{F spell-it.fun
  150. :::F spell-it.fun
  151. }}}
  152.  
  153. (keybind spell-it (M-"! "s))
  154. }}}
  155. {{{  paragraph functions
  156. {{{F fillpara.fun
  157. :::F fillpara.fun
  158. }}}
  159.  
  160. (keybind fill-paragraph (M-"q))
  161. (keybind set-fill-column (C-X "f))
  162.  
  163. (keybind next-paragraph (M-"n))
  164. (keybind previous-paragraph (M-"p))
  165. }}}
  166. {{{  goto-matching-fence
  167. {{{F go-match.fun
  168. :::F go-match.fun
  169. }}}
  170.  
  171. (keybind goto-matching-fence (M-C-F))
  172. }}}
  173.